home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 008a / asker1.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-01-26  |  3KB  |  116 lines

  1. echo off
  2. cls
  3. echo +
  4. echo +
  5. echo +                     Asker1 Hard Disk Installation
  6. echo +                     +++++++++++++++++++++++++++++
  7. echo +
  8. rem
  9. rem check for source drive letters
  10. if "%1" == ""  goto syntax
  11. rem
  12. rem  if dir doesnt exist, warn the user to exit. 
  13. echo +    The Asker1 files will be installed in an ASKER1 sub-directory
  14. echo +    which will be created in directory %2, shown below: 
  15. dir %2 /w
  16. echo +
  17. echo +
  18. echo +  If 'file not found', press CTRL C to exit now.  You will need to
  19. echo +  create directory %2.  Use the DOS 'MKDIR' command. 
  20. echo +
  21. echo +  Otherwise,
  22. pause
  23. rem
  24. rem  if Asker already loaded, then do not need to make the dir
  25. if exist %2\ASKER1\asker1.exe goto Copyit
  26. rem
  27. rem  make the dir
  28. md %2\ASKER1
  29. rem
  30. :Copyit
  31. copy %1\*.* %2\ASKER1\*.*
  32. copy %1\HI_C.BAT C:\HI.BAT
  33. echo +   
  34. echo +
  35. echo +
  36. echo +    Installation should be completed.  All the files on the Asker1 
  37. echo +    disk should be in the following ASKER1 directory on your hard disk:
  38. echo +
  39. dir %2\ASKER1
  40. echo +
  41. pause
  42. echo +
  43. echo +
  44. echo +
  45. echo +    and the HI.BAT from the Asker1 disk should be in the root directory
  46. echo +    of your C drive:
  47. echo +
  48. dir C:\HI.BAT
  49. echo +
  50. pause
  51. echo +
  52. rem
  53. if /%2==C:/ goto NoAdvice 
  54. if /%2==c:/ goto NoAdvice
  55. rem
  56. echo +
  57. echo +
  58. echo +    If you have installed to a drive other than C: you will need 
  59. echo +    to edit the HI.BAT file in the C: drive root directory to 
  60. echo +    indicate that particular drive rather than the C: drive.  For 
  61. echo +    example, if you have installed to drive E:, it should read 
  62. echo +    "E:\ASKER1\ASKER1.EXE" rather than"C:\ASKER1\ASKER1.EXE".
  63. echo +
  64. echo +    If you have installed to a directory beyond the root level, 
  65. echo +    you will need to edit the HI.BAT in the C: drive root directory 
  66. echo +    to point to the directory in which ASKER1 is installed.  For 
  67. echo +    example, "C:\AE\ASKER1\ASKER1.EXE" if you have installed to "C:\AE".
  68. echo +
  69. echo +    Would you would like to have the HI.BAT file somewhere other than 
  70. echo +    in the root directory?  You may copy it to any directory mentioned 
  71. echo +    in the PATH statement in the AUTOEXEC.BAT.       
  72. echo +
  73. echo +
  74. echo +    Once HI.BAT is in place, you can type 'HI' at any time to run Asker1.
  75. echo +
  76. echo +
  77. goto Exit
  78. rem
  79. rem
  80. :NoAdvice
  81. C:
  82. echo +
  83. echo +    You can type 'HI' at any time to run Asker1.
  84. echo +
  85. echo +    Try typing 'HI' now!
  86. echo +
  87. goto Exit
  88. rem
  89. rem
  90. :Syntax 
  91. echo +    The INSTALL batch file can install ASKER1 from any floppy disk
  92. echo +    (drive A:, B: or whatever) to any hard disk (C:, D:, E:, etc).
  93. echo +
  94. echo +    To install the Asker program from the floppy to the hard disk,
  95. echo +    please type
  96. echo +                       INSTALL A: C:
  97. echo +
  98. echo +    where A: (or B:) is the source drive and C: (or D:, E:, F:, etc.) 
  99. echo +    is the destination.
  100. echo +
  101. echo +    To install Asker in C:\AE\ASKER1,  first use the MKDIR command to
  102. echo +    make directory C:\AE,  then type  INSTALL A: C:\AE . 
  103. echo +
  104. echo +    If you install to a hard drive other than C or as a subdirectory
  105. echo +    of another directory you will need to edit HI.BAT in the root
  106. echo +    directory to read (for example)  
  107. echo +
  108. echo +      E:ASKER1\ASKER1.EXE   or   C:\AUTOMATA\AE\ASKER1\ASKER1.EXE 
  109. echo +
  110. echo +
  111. goto Exit
  112. :Exit
  113.  
  114.  
  115.  
  116.